load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "testutil",
    srcs = ["testutil.go"],
    importpath = "github.com/pingcap/tidb/pkg/ddl/testutil",
    visibility = ["//visibility:public"],
    deps = [
        "//pkg/domain",
        "//pkg/kv",
        "//pkg/parser/model",
        "//pkg/session",
        "//pkg/session/types",
        "//pkg/sessiontxn",
        "//pkg/table",
        "//pkg/table/tables",
        "//pkg/types",
        "//pkg/util/logutil",
        "@com_github_pingcap_errors//:errors",
        "@com_github_stretchr_testify//require",
        "@org_uber_go_zap//:zap",
    ],
)
